#ifndef MGGS__TN
#define MGGS__TN

#include <cstdlib>

template <typename T>
class TNode
    {
    public:
      int point;
      T data;
      TNode* lc;
      TNode* rc;
      TNode* parent;
      bool color = RED;
      TNode(){};
      TNode(int _point, T _data);
    };


template<typename T>
TNode<T>::TNode(int _point, T _data)
{
    point = _point;
    data = _data;
    parent = lc = rc = NULL;
};


#else
//DO NOTHING.
#endif
